Skip to content

Refactor card post view#1730

Merged
hjiangsu merged 1 commit intodevelopfrom
refactor/card-post-view
Mar 7, 2025
Merged

Refactor card post view#1730
hjiangsu merged 1 commit intodevelopfrom
refactor/card-post-view

Conversation

@hjiangsu
Copy link
Copy Markdown
Member

@hjiangsu hjiangsu commented Mar 7, 2025

Pull Request Description

The refactoring continues, this time focusing more on the card post view! Similar to #1723, a bunch of changes were made to reduce overall code complexity and de-duplicate logic. Both compact/card views now share a lot of the same logic (e.g., PostCardTitle).

Like the other recent refactors, there will likely be additional PRs to further simplify and improve overall performance of relevant widgets. I've done a fair amount of testing with these changes and haven't encountered any issues, but will continue to daily it to see if I've missed any edge cases.

Issue Being Fixed

Issue Number: N/A

Screenshots / Recordings

Checklist

  • If a new package was added, did you ensure it uses an appropriate license and is actively maintained?
  • Did you use localized strings (and added appropriate descriptions) where applicable?
  • Did you add semanticLabels where applicable for accessibility?

Copy link
Copy Markdown
Member

@micahmo micahmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hjiangsu hjiangsu merged commit 5f6e27f into develop Mar 7, 2025
1 check passed
@hjiangsu hjiangsu deleted the refactor/card-post-view branch March 7, 2025 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants